#version 430 core

in vec2 v_texCoords;

layout(binding=0) uniform sampler2D texture0;

layout(location=0) out vec4 outColor;

void main(void)
{
	vec4 lookup = texture(texture0, v_texCoords);
	outColor = vec4(sqrt(lookup.x)/64, 0.f, 0.f, 1.f);
}